home *** CD-ROM | disk | FTP | other *** search
- Path: redstone.interpath.net!mercury!softbase
- From: softbase@mercury.interpath.net (Scott McMahan - Softbase Systems)
- Newsgroups: comp.lang.c
- Subject: Re: Does Borland C++ 5.0 still work with normal C???
- Date: 25 Feb 1996 19:31:51 GMT
- Organization: Interpath -- Providing Internet access to North Carolina
- Message-ID: <4gqdf7$jfo@redstone.interpath.net>
- References: <n4mwd.33.000A228B@magg.net> <4gdkv3$q8a@druid.borland.com> <4ggsie$1fg@dopey.magg.net>
- NNTP-Posting-Host: mercury.interpath.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Dennis Hawkins (n4mwd@magg.net) wrote:
-
- : printf("%ld\n", (long) sizeof 'a');
-
- : and produce an EXE that generates '2' for the output.
-
- How do you get two out of this? A char is 1, and casting that to a long
- is still 1, only it takes up more bytes. How can this evaluate to 2?
- sizeof char being 1 is kinda hard-wired into the language.
-
- : I wonder if Borland will ever stop discriminating against C people. I
- : mean, why can I not get the AppExpert to generate straight C code?
-
- Why do you NEED AppExpert to generate straight C code? A Win32
- console mode program is trivial to generate in BC++, you don't
- need anything but the target whatchamacallit.
-
- : I know I sound bitter, but thats only because I am. I don't
- : appreciate having C++ rammed down my throat...
-
- I've done a lot of C development in Borland's compiler/IDE. Works
- for me. ANSI C hasn't changed much since it was ratified and
- implemented, and there's not a whole lot more Borland can do
- with it.
-
- : Does anybody else out there feel the same way I do about C and C++??
-
- I've never gotten much out of C++, but then the main thing I've been
- working on the past 2 years is a cross-platform library to be used by
- multiple languages. This means standard OS linkage is a requirement,
- and it also means there's a lot of platforms we don't want to waste
- money on a C++ compiler. It also means the lowest common denominator
- in a lot of cases. This isn't a good place to use the evolving C++.
-
- I think C++ has its uses on LARGE projects that can get deeply into the
- whole experience, the esoterica of the the OOP paradigm, but how many
- of these large projects are there? I imagine most projects are much
- smaller. I know I've read probably as much about OOP as anyone, lots
- and lots of C++ books, and I still don't really use any of it.
-
- Actually Delphi is the first practical application of object
- orientation I've ever seen. OOP in it actually works.
- I've never been impressed with class libraries like OWL for
- Windows -- they don't really do anything but make matters
- more complex. The underlying C paradigm is easier to understnad.
-
- If you code in a language a LOT, especially hard-core coding in C,
- you tend to start thinking in it. I did that in perl when I
- used it over the space of a year to write something. I think in
- C now. It's really hard to think in C++ unless you use it all the
- time.
-
- Scott
-
-
-